/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package JavaClass;

import DAO.LessonListDAO;
import generate.DetailedLesson.DetailedLesson;
import generate.DetailedLesson.DetailedLessons;
import generate.lessonList.LessonList;
import generate.lessonList.LessonLists;
import java.util.List;
import javax.xml.namespace.QName;
import javax.xml.xpath.XPath;
import javax.xml.xpath.XPathExpressionException;
import javax.xml.xpath.XPathFactory;
import org.w3c.dom.Node;

/**
 *
 * @author USERT
 */
public class Main {
    public static void main(String[] args){
        //JaxBFunction.XJCGenerateJavaObj("src/java/", "generate.DetailedLesson", "src/java/Schema/DetailedLessons.xsd");
        //JaxBFunction.XJCGenerateJavaObj("src/java/", "generate.lessonList", "src/java/Schema/lessonList.xsd");

//                  DetailedLessonDTO dlDTO = new DetailedLessonDTO();
//          DetailedLessons detaillessons = new DetailedLessons();
//          List<DetailedLesson> dls = dlDTO.getAllDetailedLesson(1);
//            for(int i=0; i<dls.size(); i++){
//                detaillessons.getDetailedLesson().add(dls.get(i));
//            }
//        JaxBFunction.marshall("web/xml/DetailedLessons.xml", detaillessons);
//
        
    }


}
